﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="IService.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>会员登录</title>
    <%--<link type="text/css" href="Styles/Login/3columns.css" rel="stylesheet" />
	<link type="text/css" href="Styles/regiester/base.css" rel="stylesheet" />--%>

    <script type="text/javascript" src="Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript">
        function Validate() {
            var username = $("#<%=txtUserName.ClientID %>").val();
            if (username == "") {
                alert("会员账号不能为空！");
                $("#<%=txtUserName.ClientID %>").focus();
		        return false;
            }
            var password = $("#<%=txtPassword.ClientID %>").val();
            if (password == "") {
                alert("会员密码不能为空！");
                $("#<%=txtPassword.ClientID %>").focus();
		        return false;
            }
            return true;
        }
    </script>
    
    <link rel="stylesheet" type="text/css" href="css/custom-theme/cssreset-min.css" />
    <link type="text/css" href="css/custom-theme/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.8.23.custom.min.js"></script>
    <link rel="stylesheet/less" type="text/css" href="css/styles.less" />
    <script src="js/less.js" type="text/javascript"></script>

    <!-- InstanceParam name="extendJS" type="boolean" value="true" -->
</head>

<body>
    <form id="form1" runat="server">
        <div class="container">

            <div class="main">
                <div class="header">
                    <div class="topLinks">
                        <a id="Nav_Login" href="login.aspx">
                            <img class="imgIco loginIco " src="../images/blank.gif" />登录</a> | <a href="Register.aspx">
                                <img class="imgIco regIco " src="../images/blank.gif" />注册</a>
                    </div>
                    <div class="clear"></div>
                    <h1 class="logo">5iDTV</h1>
                    <div class="menu">
                        <ul>
                            <li>
                                <a id="Nav_Home" href="index.aspx">首页</a></li>
                            <li>
                                <a href="Industry/index.aspx" id="Nav_Industry">产业研究</a></li>
                            <li>
                                <a href="education/index.aspx" id="Nav_Education">创新交流</a></li>
                            <li>
                                <a href="Research/index.aspx" id="Nav_Research">研发服务</a></li>
                            <li>
                                <a href="communication.aspx" id="Nav_Communication">商贸通</a></li>
                            <li>
                                <a href="intergration/index.aspx" id="Nav_Intergration">综合服务</a></li>
                            <li>
                                <a href="4KCenter/index.aspx" id="Nav_Service">4K服务专区</a></li>
                        </ul>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="mainContent">
                    <!-- InstanceBeginEditable name="mainContent" -->
                    <div class="loginContainer">
                        <div class="loginContainerInner">
                            <h2>欢迎登陆数字电视产业服务网</h2>
                            <p>
                                <label>用户名：</label><span><asp:TextBox ID="txtUserName" runat="server" class="input" TabIndex="1" size="30"></asp:TextBox></span>
                            </p>
                            <p>
                                <label>密码：</label><span><asp:TextBox ID="txtPassword" runat="server" class="input" TabIndex="2" size="30" TextMode="Password"></asp:TextBox></span>
                            </p>
                            <p class="buttonbar">
                                <asp:Button ID="btnLogin" Text=" 登录 " class="button" runat="server"
                                    OnClientClick="return Validate();" OnClick="btnLogin_Click" />
                                <a href="Register.aspx">立即注册</a> <a href="">忘记密码?</a>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- InstanceEndEditable -->
    </form>
</body>
</html>
